<h1>Actualizar estado</h1>

<?php

echo $this->Form->create('ServiceOrderRowState');
?> <br /> 

echo $this->Form->input('service_order_row_id',  array('type' => 'hidden', 'value'=>$service_order_row_id));
?>

<table class = "formEdit">
    <tr>
        <td class="title">Estado: </td>
        <td class="text"><?php echo $this->Form->input('state_id', array('type'=>'select', 'options'=>$service_order_row_states, 'default'=>$next_state['State']['id'], 'label' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Fecha: </td>
        <td class="text"><?php echo $this->Form->input('fecha', array('label' => 'Fecha', 'selected' => $default_date, 'label' => false)); ?></td>
    </tr>
    <tr>
        <td class="title">Comentario: </td>
        <td class="text"><?php echo $this->Form->input('comentario', array('label' => false)); ?></td>
    </tr>
     <tr>
       
        <td colspan="2" class="button"><?php echo $this->Form->end('Guardar'); ?></td>
    </tr>

</table>